package io.renren.modules.mapp.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.modules.mapp.dao.ActiComerDao;
import io.renren.modules.mapp.entity.ActiComerEntity;
import io.renren.modules.mapp.service.ActiComerService;



@Service("actiComerService")
public class ActiComerServiceImpl implements ActiComerService {
	@Autowired
	private ActiComerDao actiComerDao;
	
	@Override
	public ActiComerEntity queryObject(String comerOpenId){
		return actiComerDao.queryObject(comerOpenId);
	}
	
	@Override
	public List<ActiComerEntity> queryList(Map<String, Object> map){
		return actiComerDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return actiComerDao.queryTotal(map);
	}
	
	@Override
	public void save(ActiComerEntity actiComer){
		actiComerDao.save(actiComer);
	}
	
	@Override
	public void update(ActiComerEntity actiComer){
		actiComerDao.update(actiComer);
	}
	
	@Override
	public void delete(String comerOpenId){
		actiComerDao.delete(comerOpenId);
	}
	
	@Override
	public void deleteBatch(String[] comerOpenIds){
		actiComerDao.deleteBatch(comerOpenIds);
	}
	
}
